home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 6: Level 6
/
17 Bit - Level 6 (1998)(Epic Marketing)[!].iso
/
quartz
/
q0429.dms
/
q0429.adf
/
libshade
/
defaults.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-08
|
2KB
|
57 lines
/*
* defaults.h
*
* Copyright (C) 1989, 1991, Craig E. Kolb
* All rights reserved.
*
* This software may be freely copied, modified, and redistributed
* provided that this copyright notice is preserved on all copies.
*
* You may not distribute this software, in whole or in part, as part of
* any commercial product without the express consent of the authors.
*
* There is no warranty or other guarantee of fitness of this software
* for any purpose. It is provided solely "as is".
*
* $Id: defaults.h,v 4.0 91/07/17 14:45:18 kolb Exp Locker: kolb $
*
* $Log: defaults.h,v $
* Revision 4.0 91/07/17 14:45:18 kolb
* Initial version.
*
*/
#ifndef DEFAULTS_H
#define DEFAULTS_H
#define DEFSAMPLES 3 /* sqrt of number of samples */
#define XRESOLUTION 512 /* Default screen size (pixels) */
#define YRESOLUTION 512
#define DEFCUTOFF 0.002 /* Default tree cutoff value */
#define MAXDEPTH 5 /* Maximum ray tree depth. */
#define HFOV 45 /* Field-of-view */
#define EYEX 0 /* Eye position */
#define EYEY -10
#define EYEZ 0
#define LOOKX 0 /* Look point */
#define LOOKY 0
#define LOOKZ 0
#define UPX 0 /* Up vector */
#define UPY 0
#define UPZ 1
#define GAMMA 1. /* Default gamma */
#define GAUSSIAN FALSE /* Use gaussian pixel filter? */
#define FILTERWIDTH 1.8 /* Default gaussian filter width */
#if defined(LINDA) && !defined(WORKERS)
#define WORKERS 4 /* Default # of workers. */
#endif
#define REPORTFREQ 10 /* Frequency of status report */
#define DEFREDCONT 0.2 /* Default contrast threshold values. */
#define DEFGREENCONT 0.15
#define DEFBLUECONT 0.3
#endif /* DEFAULTS_H */